package gizwits.overseaair.way.schedule;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import gizwits.kit.Address;
import gizwits.kit.HttpKit;

public class update {
	public static final String uri = "/api/schedule/update";
	
	public static void main(String[] args) {
		Map<String, Object> params = new HashMap<>();
		params.put("userId", "ed19d523913e4402a0116cb98e546f9e");
		params.put("sid", "11");
		params.put("timer", "08:08");
		params.put("weeks", "4");
		
		JSONObject objs = new JSONObject();
		objs.put("4", new int[]{1,2,3,4,5});
		params.put("objs", objs.toString());
		
		HttpKit.post(Address.air2+uri, params);
	}
	
}
